{layout name="layout/default" /}
<div class="panel panel-default panel-intro">
  <div class="panel-heading">
    <div class="panel-lead"><em>{$nav_title.title}</em>{$nav_title.remark}</div>
  </div>
  <div class="panel-body">
    <div id="myTabContent" class="tab-content">
      <div class="tab-pane fade active in">
        <div class="widget-body no-padding">
         <table id="table" class="table table-striped table-bordered table-hover" style="margin-top: 0px;" width="100%">
          <tbody>
          <tr style="height:35px; line-height:35px;">
            <th width="30%" style="text-align: right;height:35px; line-height:35px;">全站缓存管理项目：</th>
            <th style="text-align:center;height:35px; line-height:35px;">操作</th>
          </tr>
           <tr>
            <td width="30%" align="right" class="form-item-name"><span>清空系统缓存：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/del')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>  		            
           <tr>
            <td width="30%" align="right" class="form-item-name"><span>清空模版编译缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/temp')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr> 
           <tr>
            <td width="30%" align="right" class="form-item-name"><span>清空采集记录缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/caijicache')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>           
            <tr>
            <td width="30%" align="right" class="form-item-name"><span>清空数据库字段缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/datacache')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr> 
            <tr>
            <td width="30%" align="right" class="form-item-name"><span>清空全站所有缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/clear')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr> 
          </tbody>
        </table>           
         <table id="table" class="table table-striped table-bordered table-hover" style="margin-top: 0px;" width="100%">
          <tbody>                                      
          <tr style="height:35px; line-height:35px;">
            <th width="30%" style="text-align: right;height:35px; line-height:35px;">模板循环缓存管理：</th>
            <th style="text-align:center;height:35px; line-height:35px;">操作</th>
          </tr>
          <tr>
            <td width="30%" align="right" class="form-item-name"><span>全站模板循环缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeachall')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>
          <tr>
            <td width="30%" align="right" class="form-item-name"><span>视频循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_vod'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>
           <tr>
            <td width="30%" align="right" class="form-item-name"><span>新闻循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_news'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr> 
           <tr>
            <td width="30%" align="right" class="form-item-name"><span>明星循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_star'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>
            <tr>
            <td width="30%" align="right" class="form-item-name"><span>合作循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_starhz'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>   
            <tr>
            <td width="30%" align="right" class="form-item-name"><span>剧情循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_story'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>  
            <tr>
            <td width="30%" align="right" class="form-item-name"><span>演员循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_actor'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>  
             <tr>
            <td width="30%" align="right" class="form-item-name"><span>角色循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_role'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>  
             <tr>
            <td width="30%" align="right" class="form-item-name"><span>节目循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_tv'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>  
             <tr>
            <td width="30%" align="right" class="form-item-name"><span>幻灯循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_slide'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>   
             <tr>
            <td width="30%" align="right" class="form-item-name"><span>友接循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_link'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>   
             <tr>
            <td width="30%" align="right" class="form-item-name"><span>专题循环缓存数据：</span></td>
            <td class="config"><a href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delforeach',array('id'=>'foreach_special'))}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr> 
                </tbody>
        </table>    
  <table id="table" class="table table-striped table-bordered table-hover" style="margin-top: 0px;" width="100%">
          <tbody>          
                                                                                                               
          <tr><th width="30%" style="text-align: right;line-height:35px;">模块缓存管理：</th><th style="text-align:center;line-height:35px;">操作</th></tr>
          <tr>
            <td width="30%" align="right" class="form-item-name"><span>全站模块循环缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="confirm btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delmodelall')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr>
		  {notempty name="data_cache_vod"}
          <tr class="form-model-vod">
            <td width="30%" align="right" class="form-item-name"><span>视频模块缓存数据：</span></td>
            <td class="config">
            <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="1">&nbsp;&nbsp;
           <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-vod" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
    </td>
          </tr>
		{/notempty}
		{notempty name="data_cache_news"}
          <tr class="form-model-news">
            <td width="30%" align="right" class="form-item-name"><span>新闻模块缓存数据：</span></td>
            <td class="config">
           <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="2">&nbsp;&nbsp;
            <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-news" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a>  
    </td>
          </tr>
		{/notempty}
		{notempty name="data_cache_star"}
          <tr class="form-model-star">
            <td width="30%" align="right" class="form-item-name"><span>明星模块缓存数据：</span></td>
            <td class="config">
           <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="3">&nbsp;&nbsp;
           <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-star" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
    </td>
          </tr>
		{/notempty}
		{notempty name="data_cache_story"}
          <tr class="form-model-story">
           <td width="30%" align="right" class="form-item-name"><span>剧情模块缓存数据：</span></td>
           <td class="config">
           <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="4">&nbsp;&nbsp;
           <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-story" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
    </td>
          </tr>
		{/notempty}
		{notempty name="data_cache_actor"}
          <tr class="form-model-actor">
            <td width="30%" align="right" class="form-item-name"><span>演员模块缓存数据：</span></td>
           <td class="config">
           <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="6">&nbsp;&nbsp;
           <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-actor" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
    </td>
          </tr>
		{/notempty}
		{notempty name="data_cache_role"}
          <tr class="form-model-role">
            <td width="30%" align="right" class="form-item-name"><span>角色模块缓存数据：</span></td>
            <td class="config">
           <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="5">&nbsp;&nbsp;
           <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-role" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
    </td>
          </tr>
		{/notempty}
		{notempty name="data_cache_tv"}
          <tr class="form-model-tv">
           <td width="30%" align="right" class="form-item-name"><span>节目模块缓存数据：</span></td>
           <td class="config">
           <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="7">&nbsp;&nbsp;
           <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-tv" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
    </td>
          </tr>
		{/notempty}
		{notempty name="data_cache_special"}
          <tr class="form-model-special">
           <td width="30%" align="right" class="form-item-name"><span>专题模块缓存数据：</span></td>
           <td class="config">
           <select name="day">
           <option value="1">1天内更新</option>
           <option value="3">3天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           <option value="all">全部数据</option>
           </select>
           <input type="hidden" name="sid" value="10">&nbsp;&nbsp;
           <a url="{:admin_url('admin/caches/delmodel')}" target-form="form-model-special" class="confirm btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
    </td>
          </tr>
		{/notempty}
          </tbody>
        </table>
  {notempty name="html_cache_on"}        
  <table id="table" class="table table-striped table-bordered table-hover" style="margin-top: 0px;" width="100%">
          <tbody>
          <tr>
            <th width="30%" style="text-align: right;line-height:35px;">静态缓存管理：</th>
            <th style="text-align:center;line-height:35px;">操作</th>
          </tr>
		  {notempty name="html_cache_index"}
         <tr>
            <td width="30%" align="right" class="form-item-name"><span>清空首页静态缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delhtmlindex')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr> 
		  {/notempty}
		  {notempty name="html_cache_my_list"}
         <tr>
            <td width="30%" align="right" class="form-item-name"><span>清空单页静态缓存：</span></td>
            <td class="config"><a  href="javascript:;"  class="btn btn-danger btn-xs btn-del ajax-cache" url="{:admin_url('admin/caches/delhtmlpage')}"><i class="fa fa-trash"></i> 清空</a></td>
          </tr> 
		  {/notempty}	
          <tr class="form-html-content">
            <td width="30%" align="right" class="form-item-name" style="line-height:35px;"><span>清空内容静态缓存：</span></td>
            <td class="config form-html-content">
            <div class="col-xs-12" style="padding-left:0px; width:auto">
           <select name="sid" class="form-control selectpicker" style="width:auto">
		   {volist name=":F('_data/modellist')" id="model"}
		   <option value="{$model['id']}">{$model.title}</option>
		   {/volist}
           </select> 
           </div>
           <div class="col-xs-12" style="width:auto"> 
           <select name="day" class="form-control selectpicker" style="width:auto">
           <option value="1">1天内更新</option>
           <option value="2">2天内更新</option>
           <option value="3">3天内更新</option>
           <option value="5">5天内更新</option>
           <option value="7">7天内更新</option>
           <option value="15">15天内更新</option>
           </select>
           </div>
           <div class="col-xs-12" style="width:auto">
           <a url="{:admin_url('admin/caches/delhtml')}" target-form="form-html-content" class="btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
           </div>
           <div class="col-xs-12" style="width:auto;line-height:35px;">如非必要请不要清空太多,最好手工删除缓存</div>
    </td>
          </tr>
          <tr class="form-list-content">
            <td width="30%" align="right" class="form-item-name" style="line-height:35px;"><span>清空分类静态缓存：</span></td>
            <td class="config">
            <div class="col-xs-12" style="padding-left:0px; width:auto">
           <select name="cid" class="form-control selectpicker" style="width:auto">
           {volist name=":F('_data/listvod')" id="vo"}<option value="{$vo.list_id}">{$vo.list_name}</option>
{if isset($vo['son'])}{volist name="vo['son']" id="splist"}<option value="{$splist.list_id}">├ {$splist.list_name}</option>{/volist}{/if}
{/volist}
           {volist name=":F('_data/listnews')" id="vo"}<option value="{$vo.list_id}">{$vo.list_name}</option>
{if isset($vo['son'])}{volist name="vo['son']" id="splist"}<option value="{$splist.list_id}">├ {$splist.list_name}</option>{/volist}{/if}
{/volist}
           {volist name=":F('_data/liststar')" id="vo"}<option value="{$vo.list_id}">{$vo.list_name}</option>
{if isset($vo['son'])}{volist name="vo['son']" id="splist"}<option value="{$splist.list_id}">├ {$splist.list_name}</option>{/volist}{/if}
{/volist}
           {volist name=":F('_data/listrole')" id="vo"}<option value="{$vo.list_id}">{$vo.list_name}</option>
{if isset($vo['son'])}{volist name="vo['son']" id="splist"}<option value="{$splist.list_id}">├ {$splist.list_name}</option>{/volist}{/if}
{/volist}
           {volist name=":F('_data/listactor')" id="vo"}<option value="{$vo.list_id}">{$vo.list_name}</option>
{if isset($vo['son'])}{volist name="vo['son']" id="splist"}<option value="{$splist.list_id}">├ {$splist.list_name}</option>{/volist}{/if}
{/volist}
           {volist name=":F('_data/liststory')" id="vo"}<option value="{$vo.list_id}">{$vo.list_name}</option>
{if isset($vo['son'])}{volist name="vo['son']" id="splist"}<option value="{$splist.list_id}">├ {$splist.list_name}</option>{/volist}{/if}
{/volist}
           {volist name=":F('_data/listtv')" id="vo"}<option value="{$vo.list_id}">{$vo.list_name}</option>
{if isset($vo['son'])}{volist name="vo['son']" id="splist"}<option value="{$splist.list_id}">├ {$splist.list_name}</option>{/volist}{/if}
{/volist}
           </select> 
           </div>
           <div class="col-xs-12" style="width:auto;line-height:35px;padding-left:0px; padding-right:0px;">分页数：</div>
           <div class="col-xs-12" style="width:auto"><input type="text" class="form-control" name="p" value="1" style="width:60px; text-align:center">
           </div>
           <div class="col-xs-12" style="width:auto">
           <a url="{:admin_url('admin/caches/dellisthtml')}" target-form="form-list-content" class="btn btn-danger btn-del post-cache"><i class="fa fa-trash"></i> 清空</a> 
           </div>
           <div class="col-xs-12" style="width:auto;line-height:35px;">非数字清空全部,如非必要请不要清空全部,最好手工删除缓存</div>
    </td>
          </tr>                                                                                               
          </tbody>
        </table>
       {/notempty}       
        </div>
        <div class="clearfix"></div>
      </div>
    </div>
  </div>
</div>
</div>